FROM golang:1.15

MAINTAINER Razil "Eysir"

WORKDIR $GOPATH/src/godocker

ADD . $GOPATH/src/godocker

ENV GIN_MODE release
ENV GOPROXY https://goproxy.cn,direct

RUN go build main.go

EXPOSE 19099

ENTRYPOINT ["./main"]